<?php
class Truong extends AppModel{
	public $name = 'Truong';
	public $primaryKey = 'MaTruong';
	//each Lop has many hocsinh
	public $hasMany = array(
		'Khoi'=>array(
				'className'=>'Khoi',
				'foreignKey'=>'MaKhoi',
				'dependent'=>'true'));
}
?>